package com.smart.oil.service;

import com.smart.oil.entity.SmDept;
import com.smart.oil.vo.req.DeptAddReqVO;
import com.smart.oil.vo.req.DeptUpdateReqVO;
import com.smart.oil.vo.resp.DeptRespNodeVO;

import java.util.List;

/**
 * @ClassName: DeptService
 * TODO:类文件简单描述
 * @Author: 杨鑫鑫
 * @UpdateUser: 杨鑫鑫
 * @Version: 0.0.1
 */
public interface DeptService {
    List<SmDept> selectAll();
    List<DeptRespNodeVO> deptTreeList(String deptId);
    SmDept addDept(DeptAddReqVO vo);
    void updateDept(DeptUpdateReqVO vo);
    void deletedDept(String id);
}
